package com.myProject.serves;

import com.github.pagehelper.PageInfo;
import com.myProject.bean.TMedicinal;

import java.util.List;

public interface MedicSev {
    List<TMedicinal> getMedicList(TMedicinal tMedicinal);

    PageInfo<TMedicinal> showMedicByPage(int pageNo,int pageSize,TMedicinal tMedicinal);

    List<TMedicinal>getOneMedic(TMedicinal tMedicinal);

    boolean addMedic(TMedicinal tMedicinal);
}
